home *** CD-ROM | disk | FTP | other *** search
/ Clickx 47 / Clickx 47.iso / assets / software / switchproxy.xpi / chrome / switchproxy.jar / content / dialogs / editanon.xul < prev    next >
Encoding:
Extensible Markup Language  |  2006-04-11  |  4.5 KB  |  111 lines

  1. <?xml version="1.0"?>
  2. <?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
  3.  
  4. <!DOCTYPE dialog SYSTEM "chrome://switchproxy/locale/locale.dtd">
  5.  
  6. <dialog buttons="accept, cancel"
  7.         id="switchproxyAddAnonDialog"
  8.         onload="switchproxy_anon_initDialog();"
  9.         ondialogaccept="return switchproxy_anon_save();"
  10.         ondialogcancel="switchproxy_openerFocus(); return true;"
  11.         title="&add.anon.title;"
  12.         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  13.     
  14.     <script type="application/x-javascript" src="chrome://switchproxy/content/globals.js"></script>
  15.     <script type="application/x-javascript" src="chrome://switchproxy/content/import_anon.js"></script>
  16.     <script type="application/x-javascript" src="chrome://switchproxy/content/datasource.js"></script>
  17.     <script type="application/x-javascript" src="chrome://switchproxy/content/dialogs/editcommon.js"></script>
  18.     <script type="application/x-javascript" src="chrome://switchproxy/content/dialogs/editanon.js"></script>
  19.     
  20.     <vbox pack="center" id="anon-dialog-box">
  21.         
  22.         <!-- Proxy Label -->
  23.         <groupbox id="label-group" align="left">
  24.             <label value="&add.proxyLabel;" style="font-weight: bold;" />
  25.             <textbox id="proxy-label-field" value="" size="40" />
  26.         </groupbox>
  27.         
  28.         <!-- Import -->
  29.         <groupbox id="import-group">
  30.             <caption label="&add.anon.imort.caption;" />
  31.             
  32.             <description>
  33.                 &add.anon.import.describe;
  34.             </description>
  35.             
  36.             <spacer width="2" height="7" />
  37.             
  38.             <grid>
  39.                 <columns>
  40.                     <column />
  41.                     <column />
  42.                 </columns>
  43.                 <rows>
  44.                     <row align="center">
  45.                         <label value="&add.anon.import.file;" style="font-weight: bold;" />
  46.                         <hbox align="center">
  47.                             <textbox id="import-file-field" size="40" value="">
  48.                             </textbox>
  49.                             <button id="import-file-browser-button" label="&add.anon.import.file.browse;" oncommand="switchproxy_anon_pickFile('import-file-field', 'import-file-button');" />
  50.                             <button id="import-file-button" label="&add.anon.import.file.load;" oncommand="switchproxy_anon_importFile()" />
  51.                         </hbox>
  52.                     </row>
  53.                     <row align="center">
  54.                         <label value="&add.anon.import.url;" style="font-weight: bold;" />
  55.                         
  56.                         <hbox align="center">
  57.                             <textbox id="import-url-field" size="40" value="">
  58.                             </textbox>
  59.                             <button id="import-url-button" label="&add.anon.import.url.load;" style="margin-top: 3px;" oncommand="switchproxy_anon_importUrl()" />
  60.                         </hbox>
  61.                     </row>
  62.                     <row>
  63.                         <spacer width="2" height="2" />
  64.                         <vbox>
  65.                             <checkbox id="auto-import-check" label="&add.anon.import.url.auto;" oncommand="switchproxy_anon_enableAutoUrl(this)" />
  66.                             <label value="(&add.anon.import.url.auto.note;)" style="font-size: xx-small; margin-left: 27px;" />
  67.                         </vbox>
  68.                     </row>
  69.                 </rows>
  70.             </grid>
  71.         </groupbox>
  72.         
  73.         <!-- List Group -->
  74.         <groupbox id="list-group">
  75.             
  76.             <hbox align="center">
  77.                 <textbox id="add-field" size="20" value="" />
  78.                 <button id="add-button" label="&add.anon.single.add;" oncommand="switchproxy_anon_addProxy()" />
  79.             </hbox>
  80.             <label value="( &add.anon.single.add.example; )" style="font-size: xx-small; margin: -1px 0 7px 10px;" />
  81.             <hbox align="center">
  82.                 <label value="&add.anon.increment.title;" />
  83.                 <textbox id="increment-field" size="1" value="" maxlength="4" />
  84.                 <label value="&add.anon.increment.seconds;" />
  85.             </hbox>
  86.             <hbox align="top">
  87.                 <listbox id="proxy-list" height="150" width="300" seltype="multiple"></listbox>
  88.                 <button id="remove-button" label="&common.remove.label;" style="margin-top: 10px;"    oncommand="switchproxy_anon_removeProxy()" />
  89.             </hbox>
  90.         </groupbox>
  91.         <groupbox id="type-group" orient="horizontal">
  92.             <checkbox id="type_http" checked="true" disabled="true" style="margin-right: 0; padding-right: 0;" />
  93.             <label value="HTTP" style="margin-top: 4px; margin-left: 0; padding-left: 0;" />
  94.             <checkbox id="type_ssl" label="SSL" checked="true" />
  95.             <checkbox id="type_ftp" label="FTP" checked="true" />
  96.             <checkbox id="type_gopher" label="GOPHER" checked="true" />
  97.             <checkbox id="type_socks" label="SOCKS" checked="true" />
  98.             <label value="(" />
  99.             <radiogroup orient="horizontal" style="margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0;">
  100.                 <radio id="socks_v4" label="v4" selected="false" style="font-size: x-small;" />
  101.                 <radio id="socks_v5" label="v5" selected="true" style="font-size: x-small;" />
  102.             </radiogroup>
  103.             <label value=")" />
  104.         </groupbox>
  105.     </vbox>
  106.     <spacer height="15" width="1" />
  107.     <box align="right" flex="1">
  108.         <button dlgtype="accept" label="&common.save;" />
  109.         <button dlgtype="cancel" label="&common.cancel;" />
  110.     </box>
  111. </dialog>